//
//  ZYNCollectionReusableViewForSectionHeader.m
//  VideoPic
//
//  Created by dllo on 16/4/5.
//  Copyright © 2016年 apple. All rights reserved.
//

#import "ZYNCollectionReusableViewForSectionHeader.h"
#define WIDHT self.frame.size.width
#define HEIGHT self.frame.size.height
@interface ZYNCollectionReusableViewForSectionHeader ()

@end
@implementation ZYNCollectionReusableViewForSectionHeader
- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        [self createSubViews];
    }
    
    return self;
}
- (void)createSubViews {
    
    self.label = [[UILabel alloc] initWithFrame:CGRectMake(10, 10, WIDHT / 2, 30)];
    [self addSubview:self.label];
}
@end
